Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Creating and Editing General Polygons


Q3GeneralPolygon_GetVertexAttributeSet

You can use the Q3GeneralPolygon_GetVertexAttributeSet function to get the attribute set of a vertex of a general polygon.

TQ3Status Q3GeneralPolygon_GetVertexAttributeSet (
TQ3GeometryObject generalPolygon, 
unsigned long contourIndex, 
unsigned long pointIndex, 
TQ3AttributeSet *attributeSet);
generalPolygon
A general polygon.
contourIndex
An index into the contours array of the specified general polygon.
pointIndex
An index into the vertices array of the specified contour.
attributeSet
On exit, a pointer to a vertex attribute set for the specified vertex.
DESCRIPTION
The Q3GeneralPolygon_GetVertexAttributeSet function returns, in the attributeSet parameter, the set of attributes for the vertex having the index specified by the pointIndex parameter in the vertices array of the contour specified by the contourIndex parameter of the general polygon specified by the generalPolygon parameter. The reference count of the set is incremented.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996